<?php

/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/9/18
 * Time: 17:00
 */
namespace Admin\Model;

use Think\Model;

class LoginModel extends Model
{
    protected $connection = 'DB_CONFIG_MY';

    protected $trueTableName = 'admin_user';

    protected $_validate = [
        ['account','require','账号不能为空',self::MUST_VALIDATE],
        ['password','require','密码不能为空',self::MUST_VALIDATE],
    ];
}